<div class="row" style="margin-top: 10px">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-body table-responsive no-padding">
                <table class="table table-hover">
                    <tr>
                        <th>序号</th>
                        <th>项目名</th>
                        <th>责任人</th>
                        <th>研发人员</th>
                        <th>测试人员</th>
                        <th>运维人员</th>
                        <th>项目目录</th>
                        <th>git地址</th>
                        <th>nginx机器</th>
                        <th>nginx配置文件</th>
                        <th>后端主机</th>
                        <th>语言</th>
                        <th>域名</th>
                        <th>备注信息</th>
                        <th>创建时间</th>
                        <th>状态</th>
                    </tr>
                    {% for p in projectList %}
                        <tr>
                            <td>{{ forloop.counter }}</td>
                            <td>{{ p.name }}</td>
                            <td>
                                {% for b in p.boss.all %}
                                    {{ b.name }},
                                {% endfor %}
                            </td>
                            <td>
                                {% for du in p.dev_user.all %}
                                    {{ du.name }},
                                {% endfor %}

                            </td>
                            <td>
                                {% for tu in p.test_user.all %}
                                    {{ tu.name }},
                                {% endfor %}
                            </td>
                            <td>
                                {% for ou in p.ops_user.all %}
                                    {{ ou.name }},
                                {% endfor %}
                            </td>
                            <td>{{ p.path }}</td>
                            <td>{{ p.git_path }}</td>
                            <td>{{ p.nginx_host }}</td>
                            <td>{{ p.nginx_conf }}</td>
                            <td>
                                {% for sh in p.server_host.all %}
                                    {{ sh.name }},
                                {% endfor %}
                            </td>
                            <td>{{ p.get_language_display }}</td>
                            <td>{{ p.domain|default:"未填写" }}</td>
                            <td>{{ p.note|default:"未填写" }}</td>
                            <td>{{ pcreate_time|date:"Y-m-d H:i:s" }}</td>
                            <td>{{ p.get_status_display }}</td>
                        </tr>
                    {% endfor %}
                </table>
            </div>
        </div>
    </div>
</div>
